﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DalGen.Contracts;

namespace DalGen.Service
{
	public class BuilderFactory
	{
		public static IBuilder Creator(string dbType)
		{

			IBuilder builder;

			switch (dbType)
			{
				//case "SqlServer":
				//	ienb = new EntityBuilder();
				//	break;
				//case "Sqlite":
				//	ienb = new EntityBuilderSQLite();
				//	break;
				//case "MySql":
				//    break;
				//case "Access":
				//    break;
				default:
					builder = new DalGen.Service.SqlBuilder();
					break;

			}
			return builder;

		}

	}
}
